#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'tian'
__data__ = '2022/4/29 14:28'
# software: PyCharm

from rest_framework.routers import DefaultRouter

from . import views

router = DefaultRouter()

# 购物车
router.register("shopping_cart", views.ShoppingCartViewSet, basename="shopping")
# 订单详情
router.register("register", views.OrderViewSet, basename="orders")

urlpatterns = [] + router.urls
